package com.yuntai.pms.model.dto.system;

import com.alibaba.fastjson.JSON;
import com.yuntai.pms.model.param.PageParam;

/**
 * @ClassName: RoleQueryDto
 * @Description: 封装Role查询条件的DTO
 * @author caijg@hsyuntai.com
 * @date 2017年8月31日 上午10:44:23
 */
public class RoleQueryDto extends PageParam {

	private static final long serialVersionUID = 3924297004664268997L;
	
	/** @Fields name : 角色编码*/
	private String name;
	
	/** @Fields description : 角色描述*/
	private String description;
	
	/** @Fields createTimeStart : 创建时间从什么时候开始*/
	private String createTimeStart; 
    
    /** @Fields createTimeEnd : 创建时间到什么时候*/
    private String createTimeEnd;	

    /** @Fields updateTimeStart : 更新时间从什么时候开始*/
    private String updateTimeStart; 

    /** @Fields updateTimeEnd : 更新时间到什么时候*/
    private String updateTimeEnd;
    
    /** @Fields status : 当前状态：enabled或disabled*/
    private String status;

    private String userId;       // 用户id

    private String userName;     // 用户名称

	private Long   isSuper;      // 是不是超级用户

	public Long getIsSuper() {
		return isSuper;
	}

	public void setIsSuper(Long isSuper) {
		this.isSuper = isSuper;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCreateTimeStart() {
		return createTimeStart;
	}

	public void setCreateTimeStart(String createTimeStart) {
		this.createTimeStart = createTimeStart;
	}

	public String getCreateTimeEnd() {
		return createTimeEnd;
	}

	public void setCreateTimeEnd(String createTimeEnd) {
		this.createTimeEnd = createTimeEnd;
	}

	public String getUpdateTimeStart() {
		return updateTimeStart;
	}

	public void setUpdateTimeStart(String updateTimeStart) {
		this.updateTimeStart = updateTimeStart;
	}

	public String getUpdateTimeEnd() {
		return updateTimeEnd;
	}

	public void setUpdateTimeEnd(String updateTimeEnd) {
		this.updateTimeEnd = updateTimeEnd;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}  
    
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
